Skip to content

feat: add preview mode support to workflow execution#105

Merged
gavinsharp merged 1 commit intomainfrom
fern-bot/2026-03-11T15-35Z
Mar 12, 2026
Merged

feat: add preview mode support to workflow execution#105
gavinsharp merged 1 commit intomainfrom
fern-bot/2026-03-11T15-35Z

Conversation

@fern-api
Copy link
Contributor

@fern-api fern-api bot commented Mar 11, 2026

New optional preview parameter available on workflow execution requests. When enabled, create operations return mock resources instead of persisting to the FHIR server. The response also includes a preview field to indicate whether the workflow was executed in preview mode.

Add optional preview parameter to ExecuteWorkflowRequest and response field to ExecuteWorkflowResponse. When preview is enabled, create operations return mock resources instead of persisting to the FHIR server, allowing developers to test workflows without side effects.

Key changes:
- Add optional preview field to ExecuteWorkflowRequest with builder methods
- Add optional preview field to ExecuteWorkflowResponse to indicate execution mode
- Update constructors, equals, hashCode, and builder patterns for both classes

🌿 Generated with Fern
@gavinsharp gavinsharp merged commit 460eb1f into main Mar 12, 2026
4 checks passed
@gavinsharp gavinsharp deleted the fern-bot/2026-03-11T15-35Z branch March 12, 2026 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant